Barcode Xpress for ActiveX v13 - Updated
Debug Your Application
User Guide > How To > Debug Your Application

Because debugging and writing debug information to a log file is time consuming and expensive, Barcode Xpress provides the ability to control the level of information written to the debug log as well as the ability to turn off writing to a file completely.

Use the objects below to adjust the settings of your debugging, event handling, memory and IDispose for optimal performance.

Control Debugging Information

Troubleshooting

  1. Run a command prompt with Administrator rights.
    This can be done by pressing ⊞Win+R on your keyboard and typing "cmd" in the run command dialog.
  2. Navigate to
         C:\Windows\SysWOW64 on 64-bit systems or
         C:\Windows\system32 on 32-bit systems,
    where "C:" is your system disk.
  3. Run the following command in the command prompt:
         regtlib msdatsrc.tlb

Error Codes

Listed below is a cross reference of error codes and their corresponding descriptions.

Error Codes Error Description
9000

OUTOFMEMORY

There is not enough memory to continue the operation.
9001

INVALIDPARAMETER

Invalid parameter.
9002

PARAMETEROUTOFRANGE

Parameter out of range.

9003

INVALIDBITMAP

Invalid bitmap.

9004

UNABLEREADBITMAP

Unable to read bitmap.

9005

UNSUPPORTEDBCTYPE

Unsupported barcode type.

9006

INVALIDINDEX

Invalid index.
9007 INVALIDBARCODEVALUE Invalid barcode value set.
9008 INSUFFICIENTWIDTH Insufficient barcode width.
9009 INSUFFICIENTHEIGHT

Insufficient barcode height.

9010

UNABLECREATEUPCE

Unable to create UPC-E Barcode.

9011

INVALIDLICENSE

Invalid license.

9012

TIMEOUT

Timeout Error.

9013

IMAGENOTAVAILABLE

Image not available.

9014

INTERNALERROR

Internal error.

9015

INVALIDAREA

Area is outside required range.

9016

UNABLEREADCBBITMAP

A bitmap could not be retrieved from the clipboard.

9017

INVALIDDBDIMENSION

The clipboard image has invalid dimensions.

9018

UNABLEOPENCLIPBOARD

The clipboard could not be opened.

9019

HDIBNOTSET

The hDIB property was not set. Please set it or adjust the ImageSource property.

9020

PICTURENOTSET

The Picture property was not set. Please set it or adjust the ImageSource property.

9100

StatusPDF417EncodingError

PDF417 encoding error.

9101

StatusRowCountError

Invalid row count for the barcode type.

9102

StatusColumnCountError

Invalid column count for the barcode type.

9104

StatusLargeDataError

Barcode data too large for the barcode symbol size.

9105

StatusInvalidErrorCorrection

Error correction level is invalid.

9106

StatusErrorCorrectTooHigh

Error correction level is too high, will not fit in barcode symbol with the data.

9200 StreamParseException An error was encountered while parsing the stream data in the ReadFromStream method.

See Also